package com.huanmeiqi.demo.server.provider.service.impl;

import com.huanmeiqi.demo.api.domain.TOrder;
import com.huanmeiqi.demo.server.provider.mapper.TOrderMapper;
import com.huanmeiqi.demo.server.provider.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author cq.Wang
 * @date 2018/6/11 14:20
 * @description
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private TOrderMapper tOrderMapper;


    public TOrder getOrderByOrderId(Long orderId) {
        return tOrderMapper.selectByPrimaryKey(orderId);
    }
}
